/*
 * @Author:
 * @Date: 2023-04-14 11:17:05
 * @Description:
 */
import * as React from 'react';
import { createRoot } from 'react-dom/client';
import Routers from './routers';
import store from '@/redux/store';
import './i18n/config'


const container = document.getElementById('app');
const root = createRoot(container); // createRoot(container!) if you use TypeScript
const ReactDOMRender = () =>
  root.render(
      <Routers />
  );
store.subscribe(ReactDOMRender);
ReactDOMRender();
